package com.yiren.manager.form.pension;

import java.util.Date;

import org.springframework.format.annotation.DateTimeFormat;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.yiren.core.form.GenericForm;
import com.yiren.manager.utils.CustomJsonDateDeserializer;

public class YrBedCostHistoryForm extends GenericForm{

	private static final long serialVersionUID = -3196942460580478390L;

	private Integer id;

	private String bedCostId;

	private Float consDeductionWay;

	private Integer consumptionType;

	private String consumptionWay;

	private String createId;

	private Date createTime;

	private Float discount;

	private String houseTypeId;

	private Float price;

	private String remark;

	private String subsidization;

	private Float subsidizationValue;

	private String updateId;

 	@DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")  
	private Date updateTime;
	
	private String houseTypeName;
	
	private String updateName;
		
	public Integer getConsumptionType() {
		return consumptionType;
	}

	public void setConsumptionType(Integer consumptionType) {
		this.consumptionType = consumptionType;
	}

	public String getUpdateName() {
		return updateName;
	}

	public void setUpdateName(String updateName) {
		this.updateName = updateName;
	}

	public String getHouseTypeName() {
		return houseTypeName;
	}

	public void setHouseTypeName(String houseTypeName) {
		this.houseTypeName = houseTypeName;
	}

	public static long getSerialversionuid() {
		return serialVersionUID;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getBedCostId() {
		return bedCostId;
	}

	public void setBedCostId(String bedCostId) {
		this.bedCostId = bedCostId;
	}

	public Float getConsDeductionWay() {
		return consDeductionWay;
	}

	public void setConsDeductionWay(Float consDeductionWay) {
		this.consDeductionWay = consDeductionWay;
	}

	public String getConsumptionWay() {
		return consumptionWay;
	}

	public void setConsumptionWay(String consumptionWay) {
		this.consumptionWay = consumptionWay;
	}

	public String getCreateId() {
		return createId;
	}

	public void setCreateId(String createId) {
		this.createId = createId;
	}

	public Date getCreateTime() {
		return createTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setCreateTime(Date createTime) {
		this.createTime = createTime;
	}

	public Float getDiscount() {
		return discount;
	}

	public void setDiscount(Float discount) {
		this.discount = discount;
	}

	public String getHouseTypeId() {
		return houseTypeId;
	}

	public void setHouseTypeId(String houseTypeId) {
		this.houseTypeId = houseTypeId;
	}

	public Float getPrice() {
		return price;
	}

	public void setPrice(Float price) {
		this.price = price;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	public String getSubsidization() {
		return subsidization;
	}

	public void setSubsidization(String subsidization) {
		this.subsidization = subsidization;
	}

	public Float getSubsidizationValue() {
		return subsidizationValue;
	}

	public void setSubsidizationValue(Float subsidizationValue) {
		this.subsidizationValue = subsidizationValue;
	}

	public String getUpdateId() {
		return updateId;
	}

	public void setUpdateId(String updateId) {
		this.updateId = updateId;
	}

	public Date getUpdateTime() {
		return updateTime;
	}

	@JsonDeserialize(using=CustomJsonDateDeserializer.class)
	public void setUpdateTime(Date updateTime) {
		this.updateTime = updateTime;
	}
	
}
